#ifndef LISTA_H_
#define LISTA_H_

typedef struct Node Node;
typedef struct List List;

struct Node
{
    void *p_info;
    Node *next;
};

struct List
{
    size_t long;
    Node *first;
};

List *list_init(size_t);
void list_free(List *);
void list_append_node(List *, Node *);
void list_search_node(List *, size_t);
void list_delete_node(List *, Node *);

#endif //LISTA_H_
